package com.key.oa.util;

import java.util.LinkedList;
import java.util.List;

import android.content.Context;
import android.view.Gravity;
import android.widget.Toast;

public class Util {
	
	public static int sign = 0;
	
	public static String netsure = "true";
	
	public static String netcannel = "false";
	
	public static String userdbpath = "userdata.db";
	
	public static String serverdbpath = "server.db";

	public static UserData userdata = new UserData();
	
	public static ServerData serverdata = new ServerData();
	
	public static List<UncheckedData> uncheckdata = new LinkedList<UncheckedData>();
	
	public static void toastPopWindow(Context context, String strToast) {

		Toast toast = Toast.makeText(context, strToast, Toast.LENGTH_SHORT);
		toast.setGravity(Gravity.CENTER, 0, 0);
		toast.show();
	}
}
